﻿using System;
using System.Collections.Generic;
using System.Text;
using ProcessControl.Entity;

namespace ProcessControl.Interface
{
    public interface IPR
    { 
        /// <summary>
        /// 更新PR的行数据状态
        /// </summary>
        /// <param name="BugetNumber"></param>
        /// <param name="FormID"></param>
        /// <returns></returns>
        bool UpdateRowsStatus(string BugetNumber, string FormID);

        /// <summary>
        /// 更新PR的行数据的已使用数量
        /// </summary>
        /// <param name="BugetNumber"></param>
        /// <param name="FormID"></param>
        /// <returns></returns>
        bool UpdateRowsUsedQty(string BugetNumber, string FormID, int UsedQty, int LineID);

        bool UpdateRowsUsedQtyAndPR(string BugetNumber, string FormID, int UsedQty, string ProductName);
    }
}
